Skip to content

[autobackport: sssd-2-9] Multihost tests ldap fix - #9022

Merged
spoore1 merged 3 commits into
SSSD:sssd-2-9from
sssd-bot:SSSD-sssd-backport-pr9011-to-sssd-2-9
Jul 30, 2026
Merged

[autobackport: sssd-2-9] Multihost tests ldap fix#9022
spoore1 merged 3 commits into
SSSD:sssd-2-9from
sssd-bot:SSSD-sssd-backport-pr9011-to-sssd-2-9

Conversation

@sssd-bot

Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#9011 Multihost tests ldap fix to branch sssd-2-9, created by @spoore1.

Caution

@spoore1 The patches did not apply cleanly. It is necessary to resolve conflicts before merging this pull request. Commits that introduced conflict are marked with CONFLICT!.

You can push changes to this pull request

git remote add sssd-bot git@github.com:sssd-bot/sssd.git
git fetch sssd-bot refs/heads/SSSD-sssd-backport-pr9011-to-sssd-2-9
git checkout SSSD-sssd-backport-pr9011-to-sssd-2-9
git push sssd-bot SSSD-sssd-backport-pr9011-to-sssd-2-9 --force

Original commits
dbeed82 - Tests: multihost ldap to ldaps
1f921d4 - Tests: multihost ssh use ip and sssd snippet perms
a6d78a7 - Tests: multihost remove stderr redirect

Backported commits

  • 8c898f5 - Tests: multihost ldap to ldaps
  • f58dce3 - CONFLICT! Tests: multihost ssh use ip and sssd snippet perms
  • acf61fd - Tests: multihost remove stderr redirect

Conflicting Files Information (check for deleted and re-added files)

  • CONFLICT! Tests: multihost ssh use ip and sssd snippet perms
On branch SSSD-sssd-backport-pr9011-to-sssd-2-9
You are currently cherry-picking commit 1f921d48d.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   src/tests/multihost/alltests/test_krb_access_provider.py
	modified:   src/tests/multihost/alltests/test_krb_fips.py
	modified:   src/tests/multihost/alltests/test_ldap_extra_attrs.py
	modified:   src/tests/multihost/alltests/test_proxy.py
	modified:   src/tests/multihost/alltests/test_sudo.py

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   src/tests/multihost/alltests/test_config_merging.py

Original Pull Request Body

Multihost tests fixes for resolving some CI issues in newer distros. This includes LDAP -> LDAPS, some snippet permissions fixes, and switch a couple of SSH calls to use IP instead of hostnames.

@sssd-bot
sssd-bot requested a review from madhuriupadhye July 29, 2026 14:25
@spoore1
spoore1 force-pushed the SSSD-sssd-backport-pr9011-to-sssd-2-9 branch 2 times, most recently from 92e5a91 to 87b9590 Compare July 29, 2026 14:39
@spoore1
spoore1 marked this pull request as ready for review July 29, 2026 14:39
@madhuriupadhye madhuriupadhye added Accepted Tests no-backport This should go to target branch only. labels Jul 30, 2026
spoore1 added 3 commits July 30, 2026 12:27
Changing everything from ldap to ldaps for URIs.

Reviewed-by: Madhuri Upadhye <mupadhye@redhat.com>
(cherry picked from commit dbeed82)
Switching to IP address for some of the SSH commands that have some
issues in CI resolving hostnames.

Modifying sssd snippet to add chown to 600.

Reviewed-by: Madhuri Upadhye <mupadhye@redhat.com>
(cherry picked from commit 1f921d4)
test_0004_k5login_user4_with_deleted_user3 was failing on assert due to
a stderr redirect to stdout.  The ssh was returning foo3 Permission
denied in stderr which was being redirected to stdout to a file and
checked.   This resulted in the assert finding the foo3 user it was
expeecting not to be in there from the "id" command.

Reviewed-by: Madhuri Upadhye <mupadhye@redhat.com>
(cherry picked from commit a6d78a7)
@sssd-bot

Copy link
Copy Markdown
Contributor Author

The pull request was accepted by @madhuriupadhye with the following PR CI status:


🟢 CodeQL (success)
🟢 rpm-build:centos-stream-9-x86_64:upstream (success)
🟢 testing-farm:centos-stream-9-x86_64:upstream (success)
🟢 Build / make-distcheck (success)
🟢 ci / prepare (success)
🔴 ci / system (centos-9) (failure)
🟢 Static code analysis / codeql (success)
🟢 Static code analysis / pre-commit (success)
🟢 Static code analysis / python-system-tests (success)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@sssd-bot
sssd-bot force-pushed the SSSD-sssd-backport-pr9011-to-sssd-2-9 branch from 87b9590 to 3cc9a2b Compare July 30, 2026 12:27
@spoore1
spoore1 merged commit 410913f into SSSD:sssd-2-9 Jul 30, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted no-backport This should go to target branch only. Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants